const express = require('express');
const deviceRouter = express.Router();
const deviceCtrol = require('../controller/deviceController');

//添加 涂装 点检设备
deviceRouter.post('/addPlantCheckDevices',deviceCtrol.addPlantCheckDevices);
//获取 涂装 点检设备 
deviceRouter.get('/getPlantCheckDeviceList',deviceCtrol.getPlantCheckDeviceList);
//添加 机加工 点检设备
deviceRouter.post('/addMachineCheckDevice',deviceCtrol.addMachineCheckDevice);
//获取 机加工 点检设备
deviceRouter.get('/getMachineDeviceList',deviceCtrol.getMachineDeviceList);
//添加 铸造 点检设备
deviceRouter.post('/addFoundyCheckDevice',deviceCtrol.addFoundyCheckDevice);
//获取 铸造 点检设备
deviceRouter.get('/getFoundyDeviceList',deviceCtrol.getFoundyDeviceList);

module.exports = deviceRouter;